package cn.kgc.ssm.mapper;

import cn.kgc.ssm.entity.Member;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author 课工场
 * @date 2024/5/16
 * @description
 */
public interface MemberMapper {

    List<Member> searchMembers(String memberName);

    void insertMember(Member member);

    Member selectById(Integer id);

    void updateMember(Member member);

    void deleteMembers(@Param("ids") Integer[] ids);

    void updatePassword(@Param("id") Integer id,@Param("password") String password);

    Member selectByMemberNameAndPassword(Member member);

    Long selectPanelData();

    List<Map<String, Integer>> selectLineData();
}
